package fms.model;


import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;


/**
 *
 * <P>FileName: PlanFlightInfoBuff.java
 * <P>Description: 针对春秋飞行计划解析需求创建该类，存储每份飞行计划中恒定参数
 * <P>Version: v1.0
 * <P>History:
 */
public class PlanFlightInfoBuff {
    // 航班号
    private String flightId;
    // 机尾号
    private String aircraftId;
    //飞行计划ID
    private String planID;

    // 起飞机场
    private String dep;
    // 落地机场
    private String arr;
    // 计划生成时间
    private Date planDate;
    // 航空公司
    private String airlines;

    private String deptime;

    // 高度层数组
    private String[] altArray;


    public String getPlanID() {
        return planID;
    }

    public void setPlanID(String planID) {
        this.planID = planID;
    }


    public String getFlightId() {
        return flightId;
    }

    public void setFlightId(String flightId) {
        this.flightId = flightId;
    }

    public String getAircraftId() {
        return aircraftId;
    }

    public void setAircraftId(String aircraftId) {
        this.aircraftId = aircraftId;
    }

    public Date getPlanDate() {
        return planDate;
    }

    public void setPlanDate(Date planDate) {
        this.planDate = planDate;
    }

    public String getDep() {
        return dep;
    }

    public void setDep(String dep) {
        this.dep = dep;
    }

    public String getArr() {
        return arr;
    }

    public void setArr(String arr) {
        this.arr = arr;
    }

    public String getAirlines() {
        return airlines;
    }

    public void setAirlines(String airlines) {
        this.airlines = airlines;
    }

    public String[] getAltArray() {
        return altArray;
    }

    public void setAltArray(String[] altArray) {
        this.altArray = altArray;
    }


    public String getDeptime() {
        return deptime;
    }

    public void setDeptime(String deptime) {
        this.deptime = deptime;
    }


    public String toString() {
        return flightId + " @ " + aircraftId + " @ " + dep + " @ " + arr + " @ "
                + planDate + " @ " + airlines + " @ "
                + altArray[0] + " @ " + altArray[1] + " @ " + altArray[2] + " @ "
                + altArray[3] + " @ " + altArray[4] + " 。" ;
    }
}
